[Xend] Do network startup earlier.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Fri, 27 Jul 2007 08:04:35 +0000 (09:04 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Fri, 27 Jul 2007 08:04:35 +0000 (09:04 +0100)
commitfecde045d39413368ad197016664291d85bbb173
treef73dc1456df4d19c604da9042569f2895d88c069
parent61cd58b40096c85e9f601355922cdcaff5d97b26
[Xend] Do network startup earlier.

Xend tries to rebuild the network configuration such as bridges and
vlan interfaces  (in those bridges) when starting. Unfortunately this
fails on the first startup since the network script has not run, yet,
and for example created peth0. When restarting xend it works due to
the peth0 being there then. This patch moves the initialization of the
network to an earlier time in the xend initialization process to
mitigate this problem.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
tools/python/xen/xend/XendPIF.py
tools/python/xen/xend/server/SrvServer.py